package main.java.DMDE.model.relationships.strategy;

import java.util.List;

import main.java.DMDE.model.Diagram;
import main.java.DMDE.model.Entity;

public abstract class ValidationStrategy {
    protected Diagram diagram;

    public ValidationStrategy(Diagram diagram){
	this.diagram = diagram;
    }

    public abstract List<String> getEntitiesA();

    public abstract List<String> getEntitiesB(String entityAName);

    public Entity getEntityWithName(String entityName) {
	return diagram.getEntityWithName(entityName);
    }

    public void setDiagram(Diagram diagram) {
	this.diagram = diagram;	
    }

    
}
